package com.znz.analysis.dao;

import java.io.Serializable;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.data.mongodb.core.MongoTemplate;
import org.springframework.stereotype.Repository;

import com.znz.analysis.base.BaseDao;

@Repository
public class WebVisitLogDao implements BaseDao, Serializable {

	private static final long serialVersionUID = -2859788539866146655L;

	@Resource
	private transient MongoTemplate mongoTemplate;

	@Override
	public void save(Map<String, Object> map, String collectionName) {
		mongoTemplate.save(map, collectionName);
	}

}
